Skip to content

feat(sources): acquire verified PICC, GRB and UrbIS road layers - #496

Merged
imagodata merged 15 commits into
mainfrom
feat/regional-road-surfaces
Oct 1, 2026
Merged

imagodata merged 15 commits into
mainfrom
feat/regional-road-surfaces

Conversation

@imagodata

@imagodata imagodata commented Sep 8, 2026 •

Copy link
Copy Markdown
Owner

Regional road acquisition for PICC, GRB and UrbIS, through source plugins with bounded, counted transport. Counts, stable IDs and projected CRS are checked before any complete bundle is published. GRB faces are then classified from explicit Wegsegment codes only.

Rebased onto main (v2.4.0) on 2026-10-01. The branch previously carried the integration/v2.4 history, now squashed into main by #498; only this PR's own commits were replayed, without conflicts. DCO sign-offs were added to the three earliest commits, which had none. Backup of the pre-rebase head: backup/regional-road-surfaces-pre-rebase-20261001 (7530bde). No history rewrite from here on: a follow-up branch stacks on top of this one.

Acquisition

  • PICC: footprints and axes via MapServer layers 24/21, with an explicit WGS84 bbox and ArcGIS spatial-window pagination. The dry-run export publishes both raw EPSG:31370 layers with checksums.
  • UrbIS: StreetSurfaces, StreetAxes, Bridges and Tunnels through counted WFS. TYPE/LVL are preserved, and the advertised projected CRS is required.
  • GRB: WBN corridors, WGO internal boundaries, Wegsegment axes, Wegknoop nodes, KNW structures, plus the existing WGA ancillary structures.
    • Native INTERSECTS replaces ambiguous BBOX filtering.
    • XML hits and data pages use the same predicate and sorted OIDN values.
    • The CQL filter CRS must equal the declared native CRS.

The GRB prepare command defaults to dry-run. It stages five raw layers, the candidate faces, topology diagnostics and a SHA256 report. Only corridors fully covered by the acquisition bbox are partitioned. Cuts, dangles, unsplit corridors and coverage exclusions stay explicit. Nothing is snapped, and no material, ground level or client price is inferred.

GRB functional classification (classified_faces.geoparquet)

classify_grb_faces labels each face from documented Wegsegment codes (STATUS, VERH, MORF), never from geometry. Classes:

functional_class Evidence
carriageway_paved An in-service motor-traffic axis (MORF 101–112) with VERH 1 or 12. Rule unchanged.
carriageway_unpaved New. An in-service axis that is motor-traffic with VERH=2, or an aardeweg (MORF=125) with VERH 2/-8/-9/missing. With --dienstweg-unpaved-evidence (off by default), a dienstweg (MORF=120) with VERH=2.
unmapped Everything else, with a named classification_reason.

carriageway_unpaved uses the same quality of evidence as carriageway_paved: in-service axis, the same coverage ratio and extent floor, the same unsplit width guard. It is mainly a guard: without it, extending GRB coverage would price as paved what the GRB itself codes as unpaved.

What the class does and does not say:

  • VERH=2 is onverharde weg in the objectenhandboek, delivered as weg met losse verharding: an unbound surface such as gravel, not necessarily bare earth.
  • The plugin assigns no tariff; the consumer chooses the mapping.
  • Nothing is derived from WGO/Woz. Adjacency inference is invertible, which is why sidewalk was removed in 925ee38. The w*_boundary_ratio columns stay diagnostic only.

Conflicts fail closed to unmapped, reason axis_surface_conflict. This name replaces contradictory_axis_surface, which was never released.

  • Vetoes come from every candidate axis, not only those above the coverage threshold, so an axis that only crosses the face can still block a verdict. Numerical noise below length_tolerance_m vetoes nothing.
  • carriageway_unpaved (strict rule): granted only if every axis in the face is itself unpaved evidence. Otherwise the face stays unmapped, with reason:
    • axis_surface_conflict when the other axis is VERH 1 or 12;
    • axis_surface_unknown when it is a motor-traffic axis of unknown surface;
    • axis_not_motorized_carriageway in any other case.
  • carriageway_paved: blocked only by unpaved evidence, and only when that axis is matched, or runs inside the face at least max(axis_min_extent_m, ½ × the longest paved match). An unmatched gravel side road joining at any angle, or a neighbour grazing the WGO line, does not demote it.
  • Self-contradiction: a matched aardeweg coded VERH 1 or 12 contradicts itself.
  • Documented limitations, pinned by tests:
    • An unpaved axis crossing a road whose own axis is absent or out of service faces no veto.
    • A matched unpaved axis, however short, still demotes a paved face. This includes any side road entering an unsplit corridor, so it loses coverage but never promotes.

The bundle-level ready_for_costing stays false. The per-face self-check of validate_functional_faces counts carriageway_unpaved as classified, like carriageway_paved; that column is never published.

Live WFS counts (Flanders, STATUS=4; the server caps counts at 10000):

  • VERH=2 by MORF: 103 ≥10000, 114 ≥10000, 125 ≥10000, 120 = 115.
  • dienstweg: VERH=1 797, VERH=2 115, so it is never assumed unpaved.
  • aardeweg: VERH=2 ≥10000, -9 1282, 1/12 435.

KNW reconciliation

reconcile_knw_structures adds structure_proximity / structure_evidence as diagnostics only. It never changes functional_class.

Validation

  • Lint: Ruff passes.
  • GRB tests: classification, partition, KNW and plugin tests pass.
  • Full suite: 7383 passed after the rebase, 7462 with this class; 8 failed both times. The 8 failures are all in orchestration (external step kind) and reproduce on origin/main alone, so they are independent of this PR. main CI has been red since 2026-09-11.
  • Gand sample (121 faces): the output is identical face for face (class, reason, evidence, ratio), with the option on or off. That bbox has no VERH=2, MORF=120 or MORF=125 axis, so 0 faces move to carriageway_unpaved there. The new class is still unvalidated on real unpaved data: a rural bbox with aardewegen is needed before any consumer arms it.
  • Adversarial review: four rounds on this branch. The fourth targeted carriageway_unpaved, and its findings are fixed or documented.

No geodata committed. Progress on #464; keep open. Material mapping and GC prices stay in MILOU (imagodata/milou#1401).

🤖 Generated with Claude Code

@imagodata imagodata changed the title feat(picc): acquire verified road footprints and axes for regional surfaces feat(sources): acquire verified PICC and UrbIS road layers Sep 8, 2026
@imagodata imagodata changed the title feat(sources): acquire verified PICC and UrbIS road layers feat(sources): acquire verified PICC, GRB and UrbIS road layers Sep 8, 2026
Base automatically changed from integration/v2.4 to main September 12, 2026 11:18
sducournau and others added 13 commits October 1, 2026 10:23
…gination

Preserve raw source fields and export complete EPSG:31370 layers with provenance and checksums. Handle ArcGIS spatial page windows without silent truncation.

Co-Authored-By: Codex <noreply@openai.com>
Signed-off-by: sducournau <simon@imago.dev>
Add official road surfaces, axes, bridges and tunnels through opt-in counted WFS. Preserve raw types and relative levels; correct GRB ancillary-structure descriptions.

Co-Authored-By: Codex <noreply@openai.com>
Signed-off-by: sducournau <simon@imago.dev>
…rfaces

Use native INTERSECTS and XML hits for stable bounded WFS pagination. Preserve raw regional evidence and publish candidate faces with coverage and topology diagnostics, without assigning prices or crossing decisions.

Co-Authored-By: Codex <noreply@openai.com>
Signed-off-by: sducournau <simon@imago.dev>
Keep reconstructed faces unmapped unless upstream identifies carriageway or sidewalk. Never infer functional side from WGO geometry.

Co-Authored-By: Codex <noreply@openai.com>
Signed-off-by: sducournau <simon@imago.dev>
Adds classify_grb_faces: a fail-closed, two-pass classifier that labels
partition_polygons faces carriageway_paved/sidewalk/unmapped from Wegsegment
STATUS/VERH and WGO TYPE alone, never from geometry inference. Wired into
prepare_grb behind explicit thresholds (axis_coverage_ratio_min,
axis_min_extent_m, wcz_ratio_min, wrb_ratio_max, boundary_tolerance_m),
publishing a separate classified_faces.geoparquet; candidate_faces.geoparquet
stays unclassified and a classification failure degrades gracefully instead
of losing the raw acquisition.

An independent adversarial review of the first cut found and this fixes:
short in-service axes "grazing" the wrong face at ratio 1.0 (added an
absolute axis_min_extent_m floor); the Wcz-share rule being directionally
invertible on a carriageway flanked by two Wcz lines (sidewalk is now only
reachable by adjacency to a face pass 1 already proved carriageway_paved in
the same corridor, never from a face's own Wcz share alone); "unsplit"
corridors (topology fully resolved, nothing to split) being wrongly excluded
as unresolved; silent priority given to a paved axis over a contradicting
in-service unpaved one; and classified_faces.geoparquet leaking a per-face
ready_for_costing=True that contradicted this chantier's mandate to keep the
flag false until axis/structure reconciliation is complete.

Validated live on the documented Gand bbox: 121 candidate faces -> 36
carriageway_paved, 53 sidewalk, 32 unmapped (see plugin README Validation).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
… contracts

PICC (Wallonia): NIVEAU is relative on VOIRIE_AXE (layer 21, domain
{-2,-1,0,1,2}) but absolute on VOIRIE_SURFACE (layer 24: 0=ground,
+=bridge, -=tunnel) per the official conceptual data model — same field
name, two reference frames, a real conflation risk for anyone building
crossing proofs from it. The model also defines an official axis<->footprint
join table (VOIRIE_SURF_AXE_REL, VSU_ID/VAX_ID), but it is not reachable
through the currently wired ArcGIS REST channel: the MapServer advertises no
tables and the equivalent FeatureServer errors server-side. Matching stays
unimplemented; only the gap is now documented.

UrbIS (Brussels): lvl is confirmed relative everywhere it appears (StreetAxes,
StreetNodes, Railways, StreetSurfaces/Bridges/Tunnels) against the official
ISO 19131 product specs, never absolute like PICC surface NIVEAU — validating
this plugin's existing refusal to treat it otherwise. StreetSurfaces.TYPE is
exhaustively enumerated (SW=sidewalk confirmed). No segment-level foreign key
exists between StreetAxes and StreetSurfaces, only a street-name-level
streetId; a reconciliation must stay geometric and level-aware.

Updates the regional-road-surfaces plan to reflect both verified milestones
and the GRB classification landed alongside this commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
…peline

Ran MILOU's scripts/prepare_regional_surfaces.py (branch
fix/surface-corridor-width-guard) against config/surface_sources.yaml with
real, freshly acquired bundles: classified GRB (Gand, this PR's
classify_grb_faces output), PICC (Namur) and UrbIS (Brussels), plus a minimal
synthetic OSM stand-in to avoid an unsupervised full in-memory read of the
real 2GB osm_surface_layers.geoparquet. All three regional sources mapped to
gc_surface classes with zero adaptation to the contract already written in
MILOU; unmapped features matched exactly what each classifier intentionally
leaves unmapped (GRB's 32 unmapped faces, UrbIS's one out-of-contract Place
polygon). Full GC/CapEx reconciliation against the production catalogue
stays deliberately deferred — heavy, and a recette decision for MILOU.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
…ation

Digitaal Vlaanderen's objectenhandboek confirms KNW TYPE has 15 codes and
only two (1=bridge, 12=tunnel entrance) describe a road structure; the
official worked example states the WBN corridor is interrupted at a bridge
(measured at ground level, structure underneath passes without
interruption) — a corridor discontinuity, not a same-level crossing. Neither
classify_grb_faces nor any other capability reads KNW yet; this documents the
verified contract so the "reconcile axes with KNW structures" milestone has
a checked foundation before implementation starts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
A second independent review (targeting the corrections made in 5bd597f in
response to the first) found that the first fix for the Wcz-inference bug
did not actually fix it, and that the fix for the numerator/denominator
asymmetry introduced a worse regression than the one it corrected.

Anchoring a "sidewalk" verdict to a face already proved carriageway_paved in
the same corridor does not discriminate a sidewalk from a carriageway,
because adjacency is symmetric: a carriageway split in two by a transversal
Wcz line (e.g. a raised pedestrian crossing, or simply a Wegsegment axis
ending short of a junction, which is common) is adjacent to itself across
that line, so its uncovered half reads as sidewalk. And excluding
boundary-collinear runs symmetrically from both the axis-coverage numerator
and the corridor-wide denominator reopens the exact "short graze" false
positive axis_min_extent_m was added to close in the first pass, because the
denominator shrinks along with the numerator whenever an axis mostly hugs an
internal cut before a short genuine crossing.

Both mechanisms are reproduced as regression tests
(test_a_wcz_line_can_split_the_same_carriageway_without_being_misread_as_sidewalk,
test_the_true_carriageway_flanked_by_two_wcz_lines_is_never_promoted_to_sidewalk,
test_an_axis_hugging_an_internal_boundary_then_briefly_diverging_is_not_promoted).
Rather than attempt a third patch on a mechanism that has now failed twice,
classify_grb_faces is reduced to axis evidence only: carriageway_paved from a
sufficiently-covering in-service paved Wegsegment axis, unmapped otherwise.
WGO boundary ratios are still measured and reported per face for diagnosis,
never decisive. validate_functional_faces (unchanged) still accepts
"sidewalk" as a legal value for a future evidence source that can derive it
without this ambiguity.

Also fixes four issues the same review found: an unknown/not-applicable VERH
(-8/-9) was conflated with genuinely unpaved (VERH=2), turning an
insufficient-evidence axis into a false contradiction; classify_grb_faces'
own ID validation ran on out-of-service Wegsegment rows that never enter the
algorithm, so a blank ID there failed the whole call; prepare.py's
except-ValueError block around classification silently relabelled any
exception — including a real bug in validate_functional_faces' own guard,
not just a GRB_CLASSIFY_* data defect — as a data-defect report, now
restricted to GRB_CLASSIFY_* by message prefix with a genuine bug left to
propagate; and axis_coverage_ratio was reported as 0.0 whenever no candidate
cleared the threshold, discarding real measured evidence just below it —
now reports the strongest candidate measured, never used to decide the class.

Coverage on the documented Gand bbox drops from 89/121 faces classified
(with the broken sidewalk path) to 36/121 (carriageway_paved only) — a
deliberate, fail-closed trade, not a regression: the removed coverage was
never reliable. Re-validated against MILOU's actual
scripts/prepare_regional_surfaces.py consumer contract with the same result
as before (zero adaptation needed, this time with 0 sidewalk features
instead of 53 mis-derived ones).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
… width

A third adversarial review, re-examining the module after 925ee38 removed
the broken sidewalk mechanism, found that VERH/STATUS alone are insufficient
evidence for carriageway_paved: Wegsegment's MORF (morfologische wegklasse)
classifies what an axis physically is, independently of surface and service
state, and several documented codes are officially not a carriageway even
when STATUS=4 and VERH=1 — voetgangerszone (113, pedestrian zone), wandel-
en/of fietsweg niet toegankelijk voor andere voertuigen (114, walking/
cycling path explicitly closed to other vehicles), tramweg (116, tram-only),
dienstweg (120), aardeweg (125, earthen track) and veer (130, ferry).

On the documented Gand validation bbox, this module was labelling 14
voetgangerszone/wandel- of fietsweg faces carriageway_paved — the exact
failure mode this chantier exists to remove, just moved to a Wegsegment
attribute that was already part of the acquired bundle (source.py has always
fetched MORF) but never read by the classifier. MORF is now required
evidence: only axes whose MORF is 101-112 (the documented motor-traffic and
junction codes) count toward carriageway_paved; any other or unknown MORF
gives unmapped, reason axis_not_motorized_carriageway, unless a motorized
candidate is also present on the same face.

The same review found a related gap: an "unsplit" face (no internal WGO line
at all) has corridor == face, so the axis-coverage ratio is 1.0 by
construction the moment any qualifying axis reaches it, making
axis_coverage_ratio_min inert there. A single motorized paved axis crossing a
wide, WGO-less corridor does not by itself prove the entire width is
carriageway. unsplit_max_width_m guards this: for an unsplit face only, the
corridor's area divided by the longest paved axis's covered length must not
exceed it (default 12 m), or the face stays unmapped, reason
unsplit_corridor_too_wide_for_single_carriageway. This guard does not apply
to partitioned faces, where the subdivision itself is evidence.

Coverage on the Gand bbox drops from 36/121 to 22/121 faces classified — the
14-face difference is exactly the pedestrian/cycling paths now correctly
excluded. Re-validated against MILOU's actual
scripts/prepare_regional_surfaces.py consumer contract with the same result
as the previous two rounds: zero adaptation needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
Diagnostic/auditability gaps only (extent-floor-rejected axes reporting 0.0,
sub-threshold contradictory evidence dropped, exact boundary exclusion,
shallow-angle graze, unverified VERH=12, conservative MORF 120/125
exclusion) — no face is wrongly classified by any of these. Recorded rather
than patched a fourth time, to close this correction cycle with an honest
account of what remains open.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
…tures

Adds reconcile_knw_structures: a diagnostic-only capability that flags every
face in a WBN corridor whose boundary touches a KNW polygon typed bridge (1)
or tunnel entrance (12), per the objectenhandboek's own description of a WBN
corridor being interrupted at a bridge. Verified against real Gand data
before designing anything: every bridge polygon touches its adjacent WBN
corridor at distance exactly 0, while the far more numerous non-structure
"pijler" (TYPE=5, fences/street furniture) features also commonly touch WBN
without being a bridge or tunnel — confirming TYPE, not mere proximity, is
the right filter.

Because nothing in WBN/KNW identifies which face within a touched corridor
sits at the actual join versus mid-corridor, every face in that corridor is
flagged, not just the ones nearest the structure — narrowing that down
without further explicit evidence would repeat the geometric-inference
mistakes classify_grb_faces has twice had to retract this session. This
stays deliberately conservative rather than precise.

Wired into prepare_grb after classification succeeds: adds a
structure_proximity column (bridge/tunnel/bridge,tunnel/none) to
classified_faces.geoparquet and a structure_reconciliation report section.
Never changes functional_class or ready_for_costing. A KNW data defect
degrades to structure_reconciliation: {"status": "failed"} without losing
the classified faces already produced, following the same fail-closed
degradation pattern as the classifier's own Wegsegment-defect handling.

Validated live on the Gand bbox: 3 bridges, 3 touched corridors, 17/121
candidate faces flagged, 2 of the 22 carriageway_paved faces among them —
concrete evidence this catches a real case (a confirmed carriageway sitting
in a corridor that leads into a bridge). No tunnel (TYPE=12) present in this
bbox; that path is exercised only by the unit tests' synthetic geometry.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
An adversarial review of reconcile_knw_structures found the mechanism itself
correct (no silent false positive/negative in the computation), but the test
suite failed to lock in 4 of 6 introduced mutations: propagating per-face
instead of per-corridor, ignoring boundary_tolerance_m entirely, swapping
dwithin for intersects, and folding TYPE=2 (waterbouwkundige constructie,
6 occurrences in a 3.5km sample) into the bridge filter. Added dedicated
tests for each — a corridor split so only one face geometrically touches the
structure (propagation must still cover both), a genuine sub-tolerance gap
(dwithin vs intersects), an explicit TYPE=2 case, and a corrected version of
the corridor-selectivity test (the previous one had zero faces in its
"untouched" corridor, so its assertion could never fail).

Also, while adding those tests, found and fixed a real bug in
structures_matching_no_corridor: it counted a structure as "matched" the
moment it touched any WBN in the input frame, even one with zero faces in
`faces` (e.g. outside_acquisition_coverage) — exactly backwards from what the
counter exists to report. Now only counts a touch against a corridor that
actually carries a face.

Structural fixes: geometry/ID validation for KNW now applies only to
structure-typed (1/12) rows, not the whole layer — a malformed pillar
polygon (irrelevant to this reconciliation) no longer blocks it; the raw ID
column is checked for NaN before any astype(str) coercion, which on some
pandas versions turns None into the literal string "None" and would
silently defeat an isna() check performed afterwards.

Documentation corrections from the same review: KNW TYPE has 17 documented
codes, not 15; TYPE=5 (pijler) is not simply unrelated street furniture per
the handbook's own bridge-pier example, so its exclusion (kept, since its
coverage rule is ambiguous — building piers count too) is now described as a
known one-directional gap rather than argued away; the Gand validation
narrative now states precisely which bridges touch which corridors instead
of an approximate "3 bridges, 3 corridors" that happened to match by
coincidence; a new structure_evidence column cites the touching KNW IDs;
`structure_proximity` is documented as corridor-level contact, not a
per-face distance measurement (confirmed on a 3.5km sample: flagged
corridors can extend past 300m from the touching structure).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D9zf7ymCLRcRnsPzVbTWQq
Signed-off-by: sducournau <simon@imago.dev>
@imagodata
imagodata force-pushed the feat/regional-road-surfaces branch from 7530bde to dd3792b Compare October 1, 2026 09:10
sducournau and others added 2 commits October 1, 2026 11:52
Wegsegment axes the GRB explicitly codes as unpaved used to fall into
`unmapped` (axis_surface_not_paved / axis_not_motorized_carriageway):
measured upstream, then dropped. A consumer falling back on a default
tariff would price them as paved. The new positive class keeps that
evidence, and acts first as a guard when GRB coverage is extended.

Evidence, same quality as carriageway_paved (in-service axis, same
coverage ratio, extent floor and unsplit width guard, no geometry):
- motor-traffic MORF 101-112 with VERH=2;
- aardeweg MORF=125 with VERH 2/-8/-9/missing;
- dienstweg MORF=120 with VERH=2, only behind the new opt-in
  `dienstweg_unpaved_evidence` (CLI --dienstweg-unpaved-evidence, off by
  default). Live WFS counts show most in-service dienstwegen coded
  VERH=1 (797 against 115): a dienstweg is never assumed unpaved.

Conflicts fail closed to `unmapped`, reason `axis_surface_conflict`,
which replaces the unreleased `contradictory_axis_surface`. Vetoes come
from every candidate in the face, not only matches. The new class is
only granted when every such axis is itself unpaved evidence; the
validated paved class is vetoed only by matched unpaved evidence or by
one running at least max(floor, half the paved match) inside the face.
Nothing is read from WGO/Woz; the boundary ratios stay diagnostic.

VERH=2 is "onverharde weg" in the objectenhandboek and is delivered as
"weg met losse verharding": unbound, not necessarily bare earth. No
tariff is assigned here. The bundle-level ready_for_costing stays
false; validate_functional_faces accepts the class and counts it as
classified in its unpublished per-face self-check.

The Gand sample has no VERH=2/MORF=120/MORF=125 axis: its classified
output is unchanged face for face, and 0 faces move to the new class.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: sducournau <simon@imago.dev>
CI installs ruff unpinned (0.16.9) while the lockfile resolves 0.15.11
locally, so 32 findings in files this PR adds were invisible here. Fix
them without behaviour change: import sorting, redundant int() casts,
unused noqa, datetime.UTC, itertools.pairwise (Python >= 3.12 already
required), and justified noqa for the two CLI boundaries (BLE001) and
the three malformed-upstream-payload checks (TRY004: a data defect, so
ValueError stays the right type). The remaining repository-wide ruff
findings predate this PR and fail main's CI as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: sducournau <simon@imago.dev>
@imagodata
imagodata marked this pull request as ready for review October 1, 2026 10:21
@imagodata
imagodata merged commit 78f0044 into main Oct 1, 2026
8 of 10 checks passed
@imagodata
imagodata deleted the feat/regional-road-surfaces branch October 1, 2026 10:21
imagodata pushed a commit that referenced this pull request Oct 1, 2026
Bump gispulse to 2.5.0 (pyproject, QGIS plugin metadata, uv.lock, which
had stayed at 2.3.0). Promote the changelog for #496 (PICC/UrbIS/GRB road
layers, counted pagination core, GRB face classification), #501 (GRB
road-crossings level evidence) and #499 (read_pbf_roads), mirrored into
docs-site FR and EN.

The PICC, UrbIS and GRB plugins import the counted pagination core that
first ships in 2.5.0, so their dependency floor is raised to
gispulse>=2.5.0 and their READMEs no longer point at integration/v2.4.

Capability count unchanged (144): the new GRB functions, including
build_grb_road_crossings, are not registered capabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: sducournau <simon@imago.dev>
imagodata added a commit that referenced this pull request Oct 1, 2026
Bump gispulse to 2.5.0 (pyproject, QGIS plugin metadata, uv.lock, which
had stayed at 2.3.0). Promote the changelog for #496 (PICC/UrbIS/GRB road
layers, counted pagination core, GRB face classification), #501 (GRB
road-crossings level evidence) and #499 (read_pbf_roads), mirrored into
docs-site FR and EN.

The PICC, UrbIS and GRB plugins import the counted pagination core that
first ships in 2.5.0, so their dependency floor is raised to
gispulse>=2.5.0 and their READMEs no longer point at integration/v2.4.

Capability count unchanged (144): the new GRB functions, including
build_grb_road_crossings, are not registered capabilities.

Signed-off-by: sducournau <simon@imago.dev>
Co-authored-by: sducournau <simon@imago.dev>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant